#ifndef _GLOBALVARIABLES_H
#define _GLOBALVARIABLES_H


//main
#define APPTITLE L"GAME CONTRA"
#define SCREEN WS_OVERLAPPEDWINDOW

//map
#define FULLSCREEN 0
#define FRAME_RATE 10
#define FRAMEWIDTH 64
#define FRAMEHEIGHT 64
#define MAPWIDTH 104
#define MAPHEIGHT  7
#define GAMEWORLDWIDTH (FRAMEWIDTH*MAPWIDTH)
#define GAMEWORLDHEIGHT (FRAMEHEIGHT*MAPHEIGHT + 32)
#define SCREEN_WIDTH 640
#define SCREEN_HEIGHT 480

#define VIEW_PORT_Y  SCREEN_HEIGHT

//Enemy

#define MARK1 1100
#define MARK2 1600
#define MARK3 2368
#define MARK4 2800
#define MARK5 3824
#define GROUNDY_ENEMY 280
#define SPEED_ENEMY 2.0f
#define MAX_ENEMY_RED 5
#define MAX_ENEMY_RED_FOREST 2

// contra
#define JUMP_VELOCITY_BOOST 8.7f
#define FALLDOWN_VELOCITY_DECREASE 0.3f
#define MOVING_SPEED 3.0f
#define GROUNDY FRAMEHEIGHT * 5.0f 
#define TIMESTART 100
#define CONTRAWIDTH 70
#define CONTRAHEIGHT 96
#define CONTRABULLETVX 7.0f
#define CONTRABULLETVY 7.0f
#define BULLETTIMEALIVE 2000.0f
#define CONTRAALPHA 9.0f
#define FALL_DELAY_TIME 200

enum Enemy{ Turret, SuperTurret, EnemyWhite, EnemyRed, EnemyRedForest };
enum Object{PowerUp, WeaponCapsule, Bullet};

#endif